
package com.bk.service;

import java.sql.SQLException;

import com.bk.model.User;

public interface UserService {

	boolean findByName(String uname) throws SQLException;

	boolean register(User u) throws SQLException;

	boolean active(String uid, String code) throws SQLException;
	boolean active1(String uid) throws SQLException;

	User login(String uname, String upwd) throws SQLException;
}

	